package com.cx.service.serviceimp;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.cx.entity.Project;
import java.util.List;
import com.cx.mapper.ProjectMapper;
import com.cx.service.ProjectService;
@Service
public class ProjectServiceImpl implements ProjectService{

    @Resource
    private ProjectMapper projectMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return projectMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Project record) {
        return projectMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(Project record) {
        return projectMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(Project record) {
        return projectMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(Project record) {
        return projectMapper.insertSelective(record);
    }

    @Override
    public Project selectByPrimaryKey(Integer id) {
        return projectMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Project record) {
        return projectMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Project record) {
        return projectMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<Project> list) {
        return projectMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<Project> list) {
        return projectMapper.batchInsert(list);
    }

}
